package com.beiming.moudle.auth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor //生成有参构造器
@NoArgsConstructor //生成无参构造器
@TableName("product_info")
/**
 * 商品详情表
 */
public class ProductInfoEntity {
    @TableId
    private Integer productId;
    private Integer bussinessId;
    private String productName;
    private String productCore;
    private String barCode;
    private Integer oneCategoryId;
    private Integer twoCategoryId;
    private  Double price;
    private Integer publishStatus;
    private Integer auditStatus;
    private String descript;
    @TableField(exist = false)
    private String bussinessName;
    @TableField(exist = false)
    private String bussinessImgUrl;
    @TableField(exist = false)
    private String oneCategory;
    @TableField(exist = false)
    private String twoCategory;
    @TableField(exist = false)
    private Integer currentCnt;
}
